package com.example.springproject.xuwsh.domain.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author: xuwsh
 * @Date: 2023/09/19/10:15
 * @Description:
 */
@Data
@TableName(value = "user")
public class UserEntry {
    @TableId(value = "oid", type = IdType.AUTO)
    private Long oid;
    @TableField(value = "user_name")
    private String userName;
    @TableField(value = "user_age")
    private Integer userAge;
}
